package com.lingz.manager.modules.wuxue.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "key_area_info")
@TableName("key_area_info")
@ApiModel(value = "重点区域")
public class KeyAreaInfo {
    private static final long serialVersionUID = 1L;

    @Id
    @TableId
    @ApiModelProperty(value = "id")
    private int id;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "区域介绍")
    private String areaIntroduction;

    @ApiModelProperty(value = "市")
    private String cityName;

    @ApiModelProperty(value = "镇")
    private String townName;

    @ApiModelProperty(value = "村")
    private String villageName;

    @ApiModelProperty(value = "区域类型")
    private String areaType;

    @ApiModelProperty(value = "负责人")
    private String manager;

    @ApiModelProperty(value = "负责人联系方式")
    private String phoneNumber;

    @ApiModelProperty(value = "坐标类型")
    private String coordinateType;


    @ApiModelProperty(value = "经度")
    private Float longitude;

    @ApiModelProperty(value = "纬度")
    private Float latitude;

}
